package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.RuleBean;
import cn.xfdzx.android.apps.shop.contract.RuleContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class RuleModel implements RuleContract.Model {

    @Override
    public Flowable<RuleBean> getRule(String type, String status) {
        return RetrofitClient.getInstance().getApi().getRule(type,status);
    }
}
